package com.spark.daoImpl;

import com.spark.dao.ISessionAggrStatDAO;
import com.spark.dao.TaskDao;

/**
 * @author jianger
 * @ date  2018/3/30-10:30
 * @project com.spark.daoImpl
 * Dao工厂
 */
public class DaoFactory {

    /**
     * 获取dao实现类的方法
     */

    public static TaskDao getDaoImpl() {

        return new TaskDaoImpl();
    }

    public static ISessionAggrStatDAO getSessionAggrStatDAOImpl() {
        return new SessionAggrStatDAOImpl();

    }


}
